
// 异常
exception GenericError {
    1: i32 code,
    2: string message
}

service HelloService {
    string say_hello(1:string name) throws (1:GenericError e)
}